package r21310.chap04.d1002;


    public class book1 {
        private String name;
        private int id;
        private double price;
        private int storage;
        public book1 (int id,String name,  double price, int storage) {
            super();
            this.id = id;
            this.name = name;

            this.price = price;
            this.storage = storage;
        }



        public int getId() {
            return id;
        }
        public void setId(int id) {
            this.id = id;
        }
        public String getName() {
            return name;
        }
        public void setName(String name) {
            this.name = name;
        }
        public double getPrice() {
            return price;
        }
        public void setPrice(double price) {
            this.price = price;
        }
        public int getStorage() {
            return storage;
        }
        public void setStorage(int storage) {
            this.storage = storage;
        }



    }




